#ifndef ERRORMESSAGESEGMENT_HPP
#define ERRORMESSAGESEGMENT_HPP
#include "ViewSegment.hpp"

class MessageSegment
	:public ViewSegment
{
public:
	MessageSegment(Session *session, string message, int messageType);
	~MessageSegment();
	
	static const int ErrorMessage;
	static const int InfoMessage;
	
protected:
	QHBoxLayout *layout;
	QLabel *label;
};

#endif
